#ifndef PLOTCONTROLLER_H
#define PLOTCONTROLLER_H

#include "interfaces.h"
#include "plotdata.h"
#include "plotview.h"

class PlotController: public PlotControllerInterface
{
    public:
        PlotController(PlotData *data, PlotView *view);
        ~PlotController();
        void addData(double x[], double y[]);
        void addData(double x, double y, int curve);
        void addCurve(std::string cur_name);

    private:
        PlotData *plotdata;
        PlotView *plotview;
};

#endif // PLOTCONTROLLER_H
